package Entity;
/*
学生+课程实体类
 */
public class StudentCourse extends Course{

    private String studentId;
    private float score;
    private String studentName;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "StudentCourse{" +
                "studentId='" + studentId + '\'' +
                ", score=" + score +
                ", studentName='" + studentName + '\'' +
                '}';
    }
}
